Optimal. Leaf size=111 \[ \frac {67 \left (6+5 x^2\right ) \sqrt {3+5 x^2+x^4}}{1728 x^4}-\frac {\left (3+5 x^2+x^4\right )^{3/2}}{12 x^8}-\frac {11 \left (3+5 x^2+x^4\right )^{3/2}}{216 x^6}-\frac {871 \tanh ^{-1}\left (\frac {6+5 x^2}{2 \sqrt {3} \sqrt {3+5 x^2+x^4}}\right )}{3456 \sqrt {3}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 111, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.240, Rules used = {1265, 848, 820,
734, 738, 212} \begin {gather*} \frac {67 \left (5 x^2+6\right ) \sqrt {x^4+5 x^2+3}}{1728 x^4}-\frac {871 \tanh ^{-1}\left (\frac {5 x^2+6}{2 \sqrt {3} \sqrt {x^4+5 x^2+3}}\right )}{3456 \sqrt {3}}-\frac {\left (x^4+5 x^2+3\right )^{3/2}}{12 x^8}-\frac {11 \left (x^4+5 x^2+3\right )^{3/2}}{216 x^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 734
Rule 738
Rule 820
Rule 848
Rule 1265
Rubi steps
\begin {align*} \int \frac {\left (2+3 x^2\right ) \sqrt {3+5 x^2+x^4}}{x^9} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {(2+3 x) \sqrt {3+5 x+x^2}}{x^5} \, dx,x,x^2\right )\\ &=-\frac {\left (3+5 x^2+x^4\right )^{3/2}}{12 x^8}-\frac {1}{24} \text {Subst}\left (\int \frac {(-11+2 x) \sqrt {3+5 x+x^2}}{x^4} \, dx,x,x^2\right )\\ &=-\frac {\left (3+5 x^2+x^4\right )^{3/2}}{12 x^8}-\frac {11 \left (3+5 x^2+x^4\right )^{3/2}}{216 x^6}-\frac {67}{144} \text {Subst}\left (\int \frac {\sqrt {3+5 x+x^2}}{x^3} \, dx,x,x^2\right )\\ &=\frac {67 \left (6+5 x^2\right ) \sqrt {3+5 x^2+x^4}}{1728 x^4}-\frac {\left (3+5 x^2+x^4\right )^{3/2}}{12 x^8}-\frac {11 \left (3+5 x^2+x^4\right )^{3/2}}{216 x^6}+\frac {871 \text {Subst}\left (\int \frac {1}{x \sqrt {3+5 x+x^2}} \, dx,x,x^2\right )}{3456}\\ &=\frac {67 \left (6+5 x^2\right ) \sqrt {3+5 x^2+x^4}}{1728 x^4}-\frac {\left (3+5 x^2+x^4\right )^{3/2}}{12 x^8}-\frac {11 \left (3+5 x^2+x^4\right )^{3/2}}{216 x^6}-\frac {871 \text {Subst}\left (\int \frac {1}{12-x^2} \, dx,x,\frac {6+5 x^2}{\sqrt {3+5 x^2+x^4}}\right )}{1728}\\ &=\frac {67 \left (6+5 x^2\right ) \sqrt {3+5 x^2+x^4}}{1728 x^4}-\frac {\left (3+5 x^2+x^4\right )^{3/2}}{12 x^8}-\frac {11 \left (3+5 x^2+x^4\right )^{3/2}}{216 x^6}-\frac {871 \tanh ^{-1}\left (\frac {6+5 x^2}{2 \sqrt {3} \sqrt {3+5 x^2+x^4}}\right )}{3456 \sqrt {3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.23, size = 80, normalized size = 0.72 \begin {gather*} \frac {\sqrt {3+5 x^2+x^4} \left (-432-984 x^2-182 x^4+247 x^6\right )}{1728 x^8}+\frac {871 \tanh ^{-1}\left (\frac {x^2}{\sqrt {3}}-\frac {\sqrt {3+5 x^2+x^4}}{\sqrt {3}}\right )}{1728 \sqrt {3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.20, size = 135, normalized size = 1.22
method | result | size |
risch | \(\frac {247 x^{10}+1053 x^{8}-1153 x^{6}-5898 x^{4}-5112 x^{2}-1296}{1728 x^{8} \sqrt {x^{4}+5 x^{2}+3}}-\frac {871 \arctanh \left (\frac {\left (5 x^{2}+6\right ) \sqrt {3}}{6 \sqrt {x^{4}+5 x^{2}+3}}\right ) \sqrt {3}}{10368}\) | \(76\) |
trager | \(\frac {\left (247 x^{6}-182 x^{4}-984 x^{2}-432\right ) \sqrt {x^{4}+5 x^{2}+3}}{1728 x^{8}}-\frac {871 \RootOf \left (\textit {\_Z}^{2}-3\right ) \ln \left (-\frac {5 \RootOf \left (\textit {\_Z}^{2}-3\right ) x^{2}+6 \RootOf \left (\textit {\_Z}^{2}-3\right )+6 \sqrt {x^{4}+5 x^{2}+3}}{x^{2}}\right )}{10368}\) | \(84\) |
elliptic | \(-\frac {91 \sqrt {x^{4}+5 x^{2}+3}}{864 x^{4}}+\frac {247 \sqrt {x^{4}+5 x^{2}+3}}{1728 x^{2}}-\frac {871 \arctanh \left (\frac {\left (5 x^{2}+6\right ) \sqrt {3}}{6 \sqrt {x^{4}+5 x^{2}+3}}\right ) \sqrt {3}}{10368}-\frac {\sqrt {x^{4}+5 x^{2}+3}}{4 x^{8}}-\frac {41 \sqrt {x^{4}+5 x^{2}+3}}{72 x^{6}}\) | \(100\) |
default | \(-\frac {\left (x^{4}+5 x^{2}+3\right )^{\frac {3}{2}}}{12 x^{8}}-\frac {11 \left (x^{4}+5 x^{2}+3\right )^{\frac {3}{2}}}{216 x^{6}}+\frac {67 \left (x^{4}+5 x^{2}+3\right )^{\frac {3}{2}}}{864 x^{4}}-\frac {335 \left (x^{4}+5 x^{2}+3\right )^{\frac {3}{2}}}{5184 x^{2}}+\frac {871 \sqrt {x^{4}+5 x^{2}+3}}{10368}-\frac {871 \arctanh \left (\frac {\left (5 x^{2}+6\right ) \sqrt {3}}{6 \sqrt {x^{4}+5 x^{2}+3}}\right ) \sqrt {3}}{10368}+\frac {335 \left (2 x^{2}+5\right ) \sqrt {x^{4}+5 x^{2}+3}}{10368}\) | \(135\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.50, size = 116, normalized size = 1.05 \begin {gather*} -\frac {871}{10368} \, \sqrt {3} \log \left (\frac {2 \, \sqrt {3} \sqrt {x^{4} + 5 \, x^{2} + 3}}{x^{2}} + \frac {6}{x^{2}} + 5\right ) - \frac {67}{864} \, \sqrt {x^{4} + 5 \, x^{2} + 3} - \frac {335 \, \sqrt {x^{4} + 5 \, x^{2} + 3}}{1728 \, x^{2}} + \frac {67 \, {\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac {3}{2}}}{864 \, x^{4}} - \frac {11 \, {\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac {3}{2}}}{216 \, x^{6}} - \frac {{\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac {3}{2}}}{12 \, x^{8}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 95, normalized size = 0.86 \begin {gather*} \frac {871 \, \sqrt {3} x^{8} \log \left (\frac {25 \, x^{2} - 2 \, \sqrt {3} {\left (5 \, x^{2} + 6\right )} - 2 \, \sqrt {x^{4} + 5 \, x^{2} + 3} {\left (5 \, \sqrt {3} - 6\right )} + 30}{x^{2}}\right ) + 1482 \, x^{8} + 6 \, {\left (247 \, x^{6} - 182 \, x^{4} - 984 \, x^{2} - 432\right )} \sqrt {x^{4} + 5 \, x^{2} + 3}}{10368 \, x^{8}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (3 x^{2} + 2\right ) \sqrt {x^{4} + 5 x^{2} + 3}}{x^{9}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 233 vs.
\(2 (89) = 178\).
time = 3.54, size = 233, normalized size = 2.10 \begin {gather*} \frac {871}{10368} \, \sqrt {3} \log \left (\frac {x^{2} + \sqrt {3} - \sqrt {x^{4} + 5 \, x^{2} + 3}}{x^{2} - \sqrt {3} - \sqrt {x^{4} + 5 \, x^{2} + 3}}\right ) - \frac {871 \, {\left (x^{2} - \sqrt {x^{4} + 5 \, x^{2} + 3}\right )}^{7} - 5184 \, {\left (x^{2} - \sqrt {x^{4} + 5 \, x^{2} + 3}\right )}^{6} - 57389 \, {\left (x^{2} - \sqrt {x^{4} + 5 \, x^{2} + 3}\right )}^{5} - 165888 \, {\left (x^{2} - \sqrt {x^{4} + 5 \, x^{2} + 3}\right )}^{4} - 204807 \, {\left (x^{2} - \sqrt {x^{4} + 5 \, x^{2} + 3}\right )}^{3} - 93312 \, {\left (x^{2} - \sqrt {x^{4} + 5 \, x^{2} + 3}\right )}^{2} - 2403 \, x^{2} + 2403 \, \sqrt {x^{4} + 5 \, x^{2} + 3} - 5184}{1728 \, {\left ({\left (x^{2} - \sqrt {x^{4} + 5 \, x^{2} + 3}\right )}^{2} - 3\right )}^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\left (3\,x^2+2\right )\,\sqrt {x^4+5\,x^2+3}}{x^9} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________